/* 字体图标声明 这里一定要注意路径的变化 ../fonts/*/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?lzlj0i');
    src: url('../fonts/icomoon.eot?lzlj0i#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?lzlj0i') format('truetype'),
        url('../fonts/icomoon.woff?lzlj0i') format('woff'),
        url('../fonts/icomoon.svg?lzlj0i#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 版心模块 */
.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: #c81623;
}

/* 快捷导航模块 */
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
    font-size: 12px;
}

.shortcut ul li {
    float: left;
    padding: 0 5px;
}

.shortcut ul li a:hover {
    color: red;
}

/* 选择所有偶数的li */
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666666;
    margin: 9px 10px 0;
    padding: 0;
}

.arrow-icon {
    position: relative;
}

.arrow-icon:hover {
    background-color: #fff;
}

.arrow-icon::after {
    font-family: 'icomoon';
    content: '\e9d8';
    margin-left: 4px;
}

/* 隐藏菜单dorpdown-layer */
.dorpdown-layer {
    display: none;
    position: absolute;
    top: 31px;
    left: -1px;
    width: 102.5%;
    padding: 10px 0 10px 12px;
    border: 1px solid #ccc;
    border-top: 0;
    background-color: #fff;
    -webkit-box-shadow: 1px 2px 1px rgb(0 0 0 / 10%);
    box-shadow: 1px 2px 1px rgb(0 0 0 / 10%);
    z-index: 999;
}

.layer1 {
    width: 135%;
}

/* header 头部制作 */
.header {
    background-color: #fff;
}

.head {
    position: relative;
    height: 105px;
}

.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}

.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* font-size: 0; 京东的做法 */
    /* 淘宝的做法让文字隐藏 */
    text-indent: -9999px;
    overflow: hidden;
}

/* search模块制作 */
.search {
    position: absolute;
    top: 26px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #c81623;
    font-size: 16px;
    color: #fff;
}

/* hotwords 模块制作 */
.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

/* shopcar 模块制作 */
.shopcar {
    position: absolute;
    top: 25px;
    right: 62px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

.shopcar::before {
    font-family: 'icomoon';
    content: '\e93a';
    margin-left: 18px;
    margin-right: 7px;
    color: #b1191a;
}

.shopcar::after {
    font-family: 'icomoon';
    content: '\e9da';
    margin-left: 15px;
}

.shopcar .count {
    position: absolute;
    top: -5px;
    left: 105px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    background-color: #e60012;
    border-radius: 7px 7px 7px 0;
    padding: 0 5px;
}

/* nav 模块制作 */
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
    background-color: #fff;
}

.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #c81623;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 45px;
    text-align-last: center;
}

.dropdown .dd {
    /* display: none; */
    width: 100%;
    height: 465px;
    background-color: #e83632;
    margin-top: 2px;
}

.dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}

.dropdown .dd ul li::after {
    position: absolute;
    top: 1px;
    right: 10px;
    color: #fff;
    font-size: 14px;
    font-family: 'icomoon';
    content: '\e9da';

}

.dropdown .dd ul li:hover {
    background-color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}

.nav .navitems {
    float: left;
}

.navitems ul li {
    float: left;
}

.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}

/* footer 底部模块制作 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.mod_service {
    height: 80px;
    border-bottom: 1px solid #ededed;
}

.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    padding-left: 35px;
}

.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -252px -2px;
    margin-right: 8px;
}

.service_txt h4 {
    font-size: 14px;
}

.service_txt p {
    font-size: 12px;
}

/* footer帮助模块 */
.mod_help {
    height: 185px;
    border-bottom: 1px solid #ededed;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    width: 200px;
}

.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}

.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
}

/* footer版权模块 */
.mod_copyright {
    text-align: center;
    padding-top: 20px;
}

.link {
    margin-bottom: 15px;
}

.link a {
    margin: 0 10px;
}

.copyright {
    line-height: 20px;
}